package com.xs.designpattern;

/**
 * @author xs
 */
public class Main {
    public static void main(String[] args) {
        WizardTower proxy = new WizardTowerProxy(new IvoryTower());
        proxy.enter(new Wizard("红巫师"));
        proxy.enter(new Wizard("白巫师"));
        proxy.enter(new Wizard("黑巫师"));
        proxy.enter(new Wizard("绿巫师"));
        proxy.enter(new Wizard("棕色巫师"));
    }
}